﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ControlReportKHChoChamSoc.ascx.cs" Inherits="Usercontrol_ControlReportKHChoChamSoc" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<h1>Báo cáo danh sách hàng chờ chăm sóc</h1>
<asp:GridView ID="GridView2" runat="server" AllowPaging="True" 
                                    AutoGenerateColumns="False" BackColor="#DEBA84" BorderColor="#DEBA84" 
                                    BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" 
                                    DataKeyNames="tranno"  onpageindexchanging="GridView2_PageIndexChanging"  
                                    OnRowCommand="GridView2_RowCommand" PageSize="5" Width="420px">
                                    <Columns>
                                        <asp:BoundField DataField="tranno" HeaderText="Số HĐ" />
                                        <asp:BoundField DataField="MaKH" HeaderText="Mã khách hàng" />
                                        <asp:BoundField DataField="TenKhachHang" HeaderText="Tên khách hàng" />
                                        <asp:BoundField DataField="DiaChiKH" HeaderText="Địa chỉ giao hàng" />
                                        <asp:BoundField DataField="doctot" HeaderText="Tổng tiền" />
                                        <asp:BoundField DataField="Recdate" HeaderText="Ngày" />
                                        
                                         <asp:TemplateField>
                                            <ItemTemplate>
                                                <asp:Button ID="ChiTiet" runat="server" CausesValidation="false" Width="50px" 
                                                    CommandName="ChiTiet" Text="Chi tiết" />
                                            </ItemTemplate>
                                            <FooterStyle BackColor="White" BorderColor="White" />
                                            <HeaderStyle BackColor="White" BorderColor="White" />
                                            <ItemStyle BackColor="White" BorderColor="White" />
                                        </asp:TemplateField>
                                        <asp:TemplateField>
                                            <ItemTemplate>
                                                <asp:Button ID="XacNhan" runat="server" CausesValidation="false" Width="50px" 
                                                    CommandName="XacNhan" Text="Xác nhận" />
                                            </ItemTemplate>
                                            <FooterStyle BackColor="White" BorderColor="White" />
                                            <HeaderStyle BackColor="White" BorderColor="White" />
                                            <ItemStyle BackColor="White" BorderColor="White" />
                                        </asp:TemplateField>
                                    </Columns>
                                    <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                                    <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                                    <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                                </asp:GridView>  
                 <h1>Chi tiết đơn hàng</h1>
                 <asp:GridView ID="GridView1" runat="server"
                                    AutoGenerateColumns="False" BackColor="#DEBA84" BorderColor="#DEBA84" 
                                    BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" 
                                    DataKeyNames="tranno" Width="420px">
                                    <Columns>
                                        <asp:BoundField DataField="tranno" HeaderText="Số HĐ" />
                                        <asp:BoundField DataField="itemkey" HeaderText="Mã hàng" />
                                        <asp:BoundField DataField="description" HeaderText="Tên hàng" />
                                        <asp:BoundField DataField="unitprice" HeaderText="Đơn giá" />
                                        <asp:BoundField DataField="shipqty" HeaderText="Số lượng" />
                                       
                                    </Columns>
                                    <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
                                    <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                                    <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
                                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                                </asp:GridView>  
    </ContentTemplate>
</asp:UpdatePanel>

